package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.entity.GoodsEnvironmentEntity;
import com.yimils.core.goods.vo.GoodsEnvironmentRes;

import java.util.List;
import java.util.Map;

public interface GoodsEnvironmentService extends IService<GoodsEnvironmentEntity> {

    Boolean saveGoodsEnvironment(List<Long> environmentIds, Long goodsId);

    Boolean deleteGoodsEnvironment(List<Long> environmentIds, Long goodsId);

    Map<Long, List<GoodsEnvironmentRes>> mapListGoodsEnvironment(List<Long> goodsIds);
}
